<template>
	<div class="app">
		<Category title="美食" :list="foods"/>
		<Category title="游戏" :list="games"/>
		<Category title="电影" :list="movies"/>
	</div>
</template>

<script>
	import Category from './components/Category'

	export default {
		name:'App',
		components:{Category},
		data() {
			return {
				foods:['火锅','小龙虾','烧烤','牛排'],
				games:['王者农药','绝地求生','红色警戒','英雄联盟'],
				movies:['《你好，李焕英》','《长津湖》','《狙击手》','《四海》']
			}
		},
	}
</script>

<style>
	.app{
		display: flex;
		justify-content: space-around
	}
</style>